.wrapper{
    position: relative;
    width: 600px;
    height: 450px;
    background-color: #2a776a;
    margin: 0 auto;
}



/* 蛇头样式 */
/* .head{
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    color: green;
    transform: rotate(-90deg); 
} */

/* 格子样式 */
.wrapper > .line > .fl{
    width: 30px;
    height: 30px;
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
    box-sizing: border-box;
}


/* 食物样式 */
.food{
    width: 80%;
    height: 80%;
    margin: 10%;
    border-radius: 50%;
    background-image: linear-gradient(to right, white, gold);
}


/* 蛇身样式 */
.snake{
    width: 29px;
    height: 29px;
    background-color: olivedrab;
}



/* 游戏界面下的按钮 */
.bottom-bar{
    width: 400px;
    height: 60px;
    margin: 20px auto 0;
}
/* 游戏界面下的start按钮 */
.start{
    width: 120px;
    height: 60px;
    color: red;
    background-color: #9e9e9e;
    background-image: linear-gradient(to right, #9e9e9e, #343434);
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #424242;
}
/* pause按钮 */
.score{
    width: 150px;
    height: 60px;
    color: blue;
    background-color: #9e9e9e;
    background-image: linear-gradient(to right, #9e9e9e, #343434);
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #424242;
}